<?php $this->load->view('admin/admin_head.php');?>
<div id="main_head" class="main_head">
<form name="formsearch" id="formsearch" action="<?=site_url('admin/article')?>" method="post">
<table class="menu">
<tr><td>
<a href="<?=site_url('admin/article')?>" class="current"><?=lang('func_article')?></a>
</td></tr>
</table>
</form>
<table cellSpacing=0 width="100%" class="content_list"><thead>
<tr>
<th width=30  align="left"><input type="checkbox" onclick="return false;"></th>
<th width=50  align="left"><?php echo lang('order')?></th>
<th width=40  align="left"><?php echo lang('id')?></th>
<th align=left><?php echo lang('title')?></th>
<th width=80  align=left></th>
<th width=80   align="left"><?php echo lang('hits')?></th>
<th width=80   align="left"><?php echo lang('realhits')?></th>
<th width=50 align="left"><?php echo lang('status')?></th>
<th width=50  align="left"><?php echo lang('operate')?></th>
</tr>
</thead></table>
</div>

<form name="formlist" id="formlist" action="javascript:void(0)" method="post">
<input type="hidden" name="action" id="action" value="">
<div id="main" class="main">
<table cellSpacing=0 width="100%" class="content_list">
<tbody id="content_list">
<?php foreach($articleList as $article):?>
<tr id="<?php echo 'tid_'.$article['id']?>">
<td width=30><input type=checkbox name="optid[]" value="<?php echo $article['id']?>"></td>
<td width=50><input type="hidden" name="ids[]" value="'$item['id']'"><input type="text" name="listorder[]" class="input-order" size="3" value="1"></td>
<td width=40><?php echo $article['id']?></td>
<td>[ <span style="color:green;"><?php echo $article['categorystr']?></span> ] <a href="javascript:void(0)" target="_blank" ><?php echo $article['titile']?></a></td>
<td width=80><?php echo $article['hits']?></td>
<td width=80><?php echo $article['realhits']?></td>
<td width=50 ><?php echo lang('status'.$article['status'])?></td>
<td width=50>
<!-- <a href="javascript:void(0)" title='编辑' class='edit'></a>&nbsp; -->
<a href="javascript:void(0)" title='删除本项' class='sdel'></a>
</td>
</tr>
<?php endforeach;?>
</tbody>
</table>
</div>
</form>

<div class="main_foot">
<table><tr><td>
<div class="func">
<a href="<?=site_url('admin/article/add')?>">
<input type="button" class="btn" onclick="javascript:void(0)" value="添加">
</a>
<!-- 
<input type="button" class="btn" onclick="javascript:void(0)" value="排序">
 -->
<input type="button" class="btn" onclick="javascript:void(0)" value="删除">
</div>
</td><td align="right">
<div class="page">
<?php if (isset($pageinfo)): ?>

<?php endif; ?>
</div>
</td></tr></table>
</div>
<?php $this->load->view('admin/admin_foot.php');?>